getIRR

fun getIRR(): Double

returns the most recent IRR calculation result represented as a decimal, e.g. 0.15 = 15%.

Return

a 'sanitized' (primitive) Double result, that is clamped to MAX_SENSIBLE_IRR.

  • the IRR may be valid or invalid. Possible return values are: valid Double, zero, Double.NaN, +/- infinity.


fun getIRR(maxIRR: Double?): Double

returns the most recent IRR calculation result represented as a decimal, e.g. 0.15 = 15%.

Return

a 'sanitized' (primitive) Double result, clamped to the specified limit (pass null for no limit).

  • the IRR may be valid or invalid. Possible return values are: valid Double, zero, Double.NaN, +/- infinity.